import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
import '@/common/js/element.js'
import * as global from '@/common/js/global.js'
import { Message, MessageBox } from 'element-ui'
import VueParticles from 'vue-particles'


Vue.use(VueParticles)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  created() {
    Vue.prototype.$bus = this,
    Vue.prototype.$message = Message,
    Vue.prototype.$global = global,
    Vue.prototype.$confirm = MessageBox.confirm
  },
  router,
  store
}).$mount('#app')
